﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Condimar.Entities
{
    public class ClienteNatural
    {
        public int Id { get; set; }
        public int CliNaturalId { get; set; }
        public string Dni { get; set; }
        public string Nombre { get; set; }
        public string ApPaterno { get; set; }
        public string ApMaterno { get; set; }
        public string NombreCompleto
        {
            get
            {
                return ApPaterno + ' ' + ApMaterno + ',' + ' ' + Nombre;
            }
        }

        public virtual Cliente Cliente { get; set; }

        public override string ToString()
        {
            return NombreCompleto;
        }
    }
}
